package com.example.finalassessment.service;

import com.example.finalassessment.model.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.finalassessment.util.ResponseData;

import java.sql.SQLException;
import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author funny_chao
 * @since 2024-12-09
 */
public interface IProductService extends IService<Product> {
    Product getById(Integer id);
    ResponseData editProduct(Integer id, Product product);
    ResponseData deleteProductById(Integer id);
    ResponseData addProduct(Product product);

}
